# 从db包中导入所需的功能
from db import DuckDBHelper, insert_journal_info, insert_admission_info, insert_discharge_info, query_journal_info

start_date = '2017-1-1'
end_date = '2025-6-30 23:59:59'
insert_journal_info(start_date, end_date)
db=DuckDBHelper()
# db.batch_insert_sql('delete from journal')
df=db.query_df('select * from journal limit 10')
print(df)

